package com.example.book.mapper;

import com.example.book.entity.Serial;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 凡哥哥
 * @since 2023-11-15
 */
@Mapper
public interface SerialMapper extends BaseMapper<Serial> {
    @Select("select book_id from serial")
    Long[] selectAllBookIds();
}
